package com.cxcs.cxcsojbackendserviceclient.service;


import com.cxcs.cxcsojbackendmodel.entity.QuestionSubmit;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 【远程接口】 客户端 判题服务
 *
 * @Author: CxCS
 * @Version: 1.0
 * @Date: 2024-08
 */
@FeignClient(name = "cxcsoj-backend-judge-service", path = "/api/judge/inner")
public interface JudgeFeignClient {
    @PostMapping("/do")
    QuestionSubmit doJudge(@RequestParam("questionSubmitId") long questionSubmitId);
}
